FROM zxx99/alpine:edge

Maintainer zxx99(1032869152@qq.com)

#ruby dev
RUN apk update && apk upgrade \
    && apk add curl git make \
    libxml2 libxslt libevent libffi glib ncurses readline openssl yaml zlib \
    openssl-dev libssl1.0 build-base libxml2-dev libxslt-dev libbz2 libevent-dev libffi-dev glib-dev ncurses-dev readline-dev yaml-dev zlib-dev \
    libpq sqlite-dev mariadb-libs postgresql-dev \
    ruby-dev ruby ruby-io-console ruby-bigdecimal ruby-bundler \
    && rm -rf /var/cache/apk/*

RUN gem install --no-rdoc --no-ri bundler